package com.ccg.service;

import com.ccg.dao.RoleDao;
import com.ccg.entity.User_Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleService {
    @Autowired
    RoleDao roleDao;
    //    根据用户id赋予用户common角色权限
    public int addCommonRoleByU_id(User_Role user_role){
        return roleDao.addCommonRoleByU_id(user_role);

    }
}
